﻿using System;

namespace BaseSyntax.Classes.ClasStatics
{
	public static class StaticClass
	{
		// 可以有非静态的类
		public class C1
		{
			public void test()
			{
				Console.WriteLine("static class`s not static member class");
			}
		}
		
		// 不能有非静态成员或者非静态的方法
		// public int a;
		public static int A;

		public static void method()
		{
			
		}
		
		// 构造函数不能有修饰符
		static StaticClass()
		{
			A = 1;
		}
}
}